package com.kzd.sdk.entity;

import com.google.gson.Gson;
import com.kzd.sdk.core.KZD_ApiConstance;
import com.kzd.sdk.core.KZD_SdkController;

public  class KZD_LoginMain {

    private String uid;//加密用户标识
    private String username;//用户名
    private int is_h5;//0原生1h5
    private String url;//链接

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getIsH5() {
        return is_h5;
    }

    public void setIsH5(int is_h5) {
        this.is_h5 = is_h5;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }



    public KZD_LoginMain get() {
        String json = KZD_SdkController.getSp()
                .getString(KZD_ApiConstance.SP_LOGIN_MAIN);
        return KZD_LoginMain.this;
    }
}
